Authorware Article

Eye Candy for Authorware, Part 2: Integrating the Graphics


Table of Contents

  1. Introduction
  2. Setting up the File Properties
  3. Adding the Real Buttons
  4. Adding the Windows Control Treeview
  5. Setting Up the Crumb Trail
  6. Adding the Fake Buttons

Setting up the File Properties

  1. Create a new file in Authorware 7 and save it with a file name of your choice. Note that the over state for the translucent hot object buttons will not work the same in earlier versions of Authorware.
  2. Select Modify > File Properties from the main menu.
  3. Turn off the title and menu bars, and check the Center on Screen checkbox.
  4. Select the most pale gray swatch as a background color.
Setting the file properties

Figure 1. Setting the file properties

Bringing in the Basic Graphic

I love this part. This is where all the hard work starts to come together like magic. I like to have a single framework that controls the interface for the whole piece.

  1. Start out by dragging a Framework icon onto the flowline.

    Dragging a Framework icon onto the flowline

    Figure 2. Dragging a Framework icon onto the flowline

    My Framework has been customized so that the default navigation and gray navigation panel are gone, which is why mine appears grayed out.

  2. Open the Framework, and position the paste hand inside it.
  3. Press the "Import" button, or select File > Import.
  4. Navigate to your finished .png files and select your interface graphic.

    Browsing to the interface graphic

    Figure 3. Browsing to the interface graphic

  5. Run the file. You will notice that your graphic looks something like this:

    Viewing the interface

    Figure 4. Viewing the interface

    That doesn't look very good, does it?

  6. Double-click the graphic to edit its properties.
  7. Double-click the arrow in the tool palette to bring up the Modes Inspector.

    The arrow tool

    Figure 5. The arrow tool

    The Modes inspector

    Figure 6. The Modes inspector

  8. Click Alpha in the Modes inspector to change the mode of the graphic. Now, your graphic should look a bit more as intended.

    Changing the mode of the Graphic to alpha

    Figure 7. Changing the mode of the Graphic to alpha

The cutout rectangle in the lower left is where you will be putting the translucent hot object buttons. A bit of texture behind translucent objects makes them look even better, so next you will add subtle horizontal stripes to this area. Use the following steps to do this.

  1. Use the rectangle tool to draw a rectangle in this area. It does not have to be exact. In fact, it should overlap slightly.
  2. Double-click the rectangle tool to bring up the Fills inspector, and select the close horizontal line pattern.

    Selecting the close line horizontal pattern in the Fills inspector

    Figure 8. Selecting the close line horizontal pattern in the Fills inspector

    Selecting the close horizontal pattern in the Fills inspector

    Figure 9. Selecting the close horizontal pattern in the Fills inspector

  3. If the background color is not already set to white, set it to white now.
  4. Set the line style to None (the dotted line at the top of the Lines inspector).
  5. Set the Mode to Transparent. Your rectangle should now resemble the one in Figure 10 below.

    The rectangle with the Fill and Mode applied

    Figure 10. The rectangle with the Fill and Mode applied

  6. The black lines are a bit darker than the subtle effect you're after, so choose a grey that is just slightly darker than the background as shown in Figure 11 below.

    Altering the horizontal lines color

    Figure 11. Altering the horizontal lines color

    Once you've done that, your Authorware file should look like figure 12 below.

    The updated interface

    Figure 12. The updated interface

Now that your rectangle is the way you want it, send it behind the main interface graphic. You can use the Modify Menu or use the key combination Ctrl+Shift+Down Arrow to do this. Did I mention that the "Addendum" folder within the Authorware 6, 6.5 and 7 Help folder contains a printable reference to the shortcuts available in Authorware?

Once you've done that, your Authorware file should look something like figure 13 below.

Sending the rectangle behind the main interface graphic

Figure 13. Sending the rectangle behind the main interface graphic